import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    redirect: '/ng-overall-view'
  },
  {
    path: '/ng-overall-view',
    name: 'NgOverallView',
    component: resolve => require(['@/views/ng-overall-view/ng-overall-view.vue'], resolve)
  },
  {
    path: '/ng-remote-sensing',
    name: 'NgRemoteSensing',
    component: resolve => require(['@/views/ng-remote-sensing/ng-remote-sensing.vue'], resolve)
  },
  {
    path: '/sx-digital-greatCause',
    name: 'SxDigitalGreatCause',
    component: resolve => require(['@/views/sx-digital-greatCause/sx-digital-greatCause.vue'], resolve)
  },
  {
    path: '/sx-digital-agriculture',
    name: 'SxDigitalAgriculture',
    component: resolve => require(['@/views/sx-digital-agriculture/sx-digital-agriculture.vue'], resolve)
  },
  {
    path: '/tg-digital-agriculture',
    name: 'TgDigitalAgriculture',
    component: resolve => require(['@/views/tg-digital-agriculture/tg-digital-agriculture.vue'], resolve)
  },
  {
    path: '/sx-famous',
    name: 'SxFamous',
    component: resolve => require(['@/views/sx-famous/sx-famous.vue'], resolve)
  },
  {
    path: '/sx-technology',
    name: 'SxTechnology',
    component: resolve => require(['@/views/sx-technology/sx-technology.vue'], resolve)
  },
  {    path: '/administrative',
    name: 'AdministrativeManager',
    component: resolve => require(['@/views/administrative-manager/administrative-manager.vue'], resolve)
  },
//   {
//
//     path: '/humanistic',
//     name: 'HumanisticManager',
//     component: resolve => require(['@/views/humanistic-tourism/humanistic-tourism.vue'], resolve)
//   },
//   {
//
//     path: '/party',
//     name: 'partyBuilding',
//     component: resolve => require(['@/views/party-building/party-building.vue'], resolve)
//   },
  {
    path: '/bmap',
    name: 'BmapDemo',
    component: resolve => require(['@/views/bmap-demo/bmap-demo.vue'], resolve),
  },
  {
    path: '/full-screen',
    name: 'remoteSensingFS',
    component: resolve => require(['@/views/ng-remote-sensing/full-screen/full-screen.vue'], resolve),
  }]
})
